package com.appkubes.fintech.restful.application.sms.service;

import com.aliyuncs.exceptions.ClientException;

import java.io.IOException;

/**
 * @Author: rongjie
 * @Date: 2020/01/05
 * @Description: 手机验证码校验
 */
public interface SmsService {


    String send(String phone) throws IOException, ClientException;

    boolean valid(String phone, String code);

}
